Automattic\Jetpack\Search\REST_Controller S

Total Complexity 43
Dependencies 11
Dependents 1
Total lines 361
Lines of code 228
Logical lines of code 77
Comment lines 95
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
update_settings()
A
46 11 39
activate_plan()
A
49 8 33
make_proper_response()
S
58 5 15
register_rest_routes()
S
42 1 74
validate_search_settings()
S
63 5 10
__construct()
S
71 3 5
require_admin_privilege_callback()
S
64 2 10
get_blog_id()
S
79 2 3
get_search_plan()
S
76 1 4
get_settings()
S
68 1 8
get_stats()
S
76 1 4
get_search_results()
S
63 1 10
deactivate_plan()
S
69 1 8
product_pricing()
S
73 1 5